﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace housingsafety.server.Models
{
    public class SampleTaskDto
    {
        public string Id { get; set; }

        public string Name { get; set; }

        public string SurveyUnitId { get; set; }

        public string SurveyUnitName { get; set; }

        public bool IsRandom { get; set; } = true;

        public int? SampleProportion { get; set; }

        public List<SimpleDepartmentDto> SampleAreaCodes { get; set; }

        /// <summary>
        /// 样本区域Json
        /// </summary>
        public string SampleAreaCodesJson { get; set; }

        /// <summary>
        /// 0-无隐患/1-存在一般隐患/2-严重安全隐患
        /// </summary>
        public int? SampleType { get; set; }

        public long? SampleCount { get; set; }

        public DateTime? ModifiedOn { get; set; }

        public int? HcAcuracy { get; set; }

        public int? HcAcuracycount { get; set; }


        public int? ZjfType { get; set; }
    }
    //非住宅
    public class SampleTaskDtoFzz
    {
        public string Id { get; set; }

        public string Name { get; set; }

        public string SurveyUnitId { get; set; }

        public string SurveyUnitName { get; set; }

        public bool IsRandom { get; set; } = true;

        public int? SampleProportion { get; set; }

        public List<SimpleDepartmentDto> SampleAreaCodes { get; set; }

        /// <summary>
        /// 样本区域Json
        /// </summary>
        public string SampleAreaCodesJson { get; set; }

        /// <summary>
        /// 0-无隐患/1-存在一般隐患/2-严重安全隐患
        /// </summary>
        public int? SampleType { get; set; }

        public long? SampleCount { get; set; }

        public DateTime? ModifiedOn { get; set; }

        public int? HcAcuracy { get; set; }

        public int? HcAcuracycount { get; set; }
    }

}
